import { Module } from '@nestjs/common';
import { SystemService } from './system.service';
import { SystemController } from './system.controller';
import { Dept } from 'src/entities/system/dept.entity';
import { Role } from 'src/entities/system/role.entity';
import { UserAdmin } from 'src/entities/user/user-admin.entity';
import { User } from 'src/entities/user/user.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ToolsModule } from '@/service/tools/tools.module';
import { Menu } from '@/entities/menus/menu.entity';
@Module({
  imports: [
    TypeOrmModule.forFeature([Dept, Role, UserAdmin, User, Menu]),
    ToolsModule,
  ],
  controllers: [SystemController],
  providers: [SystemService],
})
export class SystemModule {}
